package com.ojoin.trade.common.web.service;


public interface MQService{
	// 发布消息 
	void publishByJSON(String channel,Object value);
	
	void publishByObjectByte(String channel,Object value);
	
	void publishByObjectString(String channel,Object value,String charset);
	
	void publishByObjectString(String channel,Object value);
	
	void subscriber(String channel,Object PubSub);
	
}
